package com.xxx.modules.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * user
 *
 * @author 北易航
 * @since 1.0.0 2022-12-19
 */
@Data
@TableName("user")
public class User {

    /**
     * 主键id
     */
    
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	    /**
     * 用户名
     */
    	private String userName;
	    /**
     * 密码
     */
    	private String password;
	    /**
     * 地址
     */
    	private String address;
	    /**
     * 图片
     */
    	private String imageUrl;
	    /**
     * 职工号
     */
    	private String number;
	    /**
     * 手机号
     */
    	private String phone;
	/**
	 * 邮箱
	 */
		private String email;
	    /**
     * 用户类型
     */
    	private Integer userType;

    	private String realName;

    	private String idCard;

    	private String sex;

    	private Integer age;

    	private Integer workId;

		private Integer bindingId;

    	@TableField(exist = false)
	    private String workName;


	}